function ui_FnErr(){
alert('alpha测试不支持本功能！')
}

function i0() {
	if (document.getElementById("man").style.display=="none") {
		hideHolders();
		document.getElementById('man').style.display = 'flex';
		document.getElementById("menubar").style.display = "none"
		document.getElementById("appIcon").style.opacity = "0"
		greeting()
		}else{
		hideHolders()
		document.getElementById("man").style.display = "none";
		document.getElementById("menubar").style.display = "flex"
		document.getElementById("appIcon").style.opacity = "1"
	}
}
function ui_fullScreen(){
	hideHolders()
    var element = document.documentElement;
    if (element.requestFullscreen) {
        element.requestFullscreen();
    } else if (element.msRequestFullscreen) {
        element.msRequestFullscreen();
    } else if (element.mozRequestFullScreen) {
        element.mozRequestFullScreen();
    } else if (element.webkitRequestFullscreen) {
        element.webkitRequestFullscreen();
    }
	var element = document.getElementById("maximizeWindow");element.setAttribute("onclick","ui_exitFullscreen()");
	document.getElementById("svg5").style.display="none"
	document.getElementById("svg6").style.display="block"
}
function ui_exitFullscreen() {
	hideHolders();
    if (document.exitFullscreen) {
        document.exitFullscreen();
    } else if (document.msExitFullscreen) {
        document.msExitFullscreen();
    } else if (document.mozCancelFullScreen) {
        document.mozCancelFullScreen();
    } else if (document.webkitExitFullscreen) {
        document.webkitExitFullscreen();
    }
	var element = document.getElementById("maximizeWindow");element.setAttribute("onclick","ui_fullScreen()");
	document.getElementById("svg5").style.display="block"
	document.getElementById("svg6").style.display="none"
}
function ui_add1(){
document.getElementById("itemsHolder1").innerHTML="<li class='menubar-menu-items'  onclick='location.reload();'>刷新</li><hr><li class='menubar-menu-items' onclick='ui_fullScreen()'>全屏<span class='accelerator'>F11</span></li>"
}
function ui_clear1(){
document.getElementById("itemsHolder1").innerHTML=""
}
function i1() {
	if (document.getElementById("itemsHolder1").style.visibility=="hidden") {
		hideHolders();
		document.getElementById('itemsHolder1').style.visibility = 'visible';
		ui_add1();
		}else{
		hideHolders()
		ui_clear1()
	}
}
function greeting() {
	var now=(new Date()).getHours();
	if(now>=17|now<6){
	document.getElementById("greeting").innerHTML = "晚上好"
	}else if(now>=6&&now<12){
	document.getElementById("greeting").innerHTML = "早上好"
	}
}